package com.cn.demo.springboot.entity;



import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;

public class User implements Serializable{

	
    /**
	 * 
	 */
	private static final long serialVersionUID = 4568549684486615088L;

	/**
     * 主键
     */
	@Column(name = "user_id")
    private Integer id;

    /**
     * 姓名
     */
	@Column(name = "user_name")
    private String name;

    /**
     * 生日
     */
    private Date birthday;

    /**
     * 地址
     */
    private String address;
    
    private String password;
    
    private String account;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}




	public User() {
		super();
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", birthday=" + birthday + ", address=" + address + ", password="
				+ password + ", account=" + account + "]";
	}

	public User(Integer id, String name, Date birthday, String address, String password, String account) {
		super();
		this.id = id;
		this.name = name;
		this.birthday = birthday;
		this.address = address;
		this.password = password;
		this.account = account;
	}
}